﻿using Tauren.Form.DLL.System_Log;
using Tauren.Form.Entity.Config;
using Tauren.Form.Entity.Model;

namespace Tauren.Form.Service.System_Log
{
    /// <summary>
    /// 日志业务逻辑处理
    /// </summary>
    public class SystemLogService : ISystemLogService
    {
        public SystemLogService(ISystemLogBusiness _Business)
        {
            this.Business = _Business;
        }

        public ISystemLogBusiness Business { get; set; }

        public IResponseMessage Add(SystemLog Model) => Business.Add(Model).Succeed();         
    }
}
